
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>QUỸ TÍN DỤNG NHÂN DÂN MỸ HÒA</title>
<link rel="stylesheet" type="text/css" href="adm/css/style_admin.css" />
<script type="text/javascript" src="adm/js/jquery.min.js"></script>
<script type="text/javascript" src="adm/js/ddaccordion.js"></script>
<script type="text/javascript">
ddaccordion.init({
	headerclass: "submenuheader", //Shared CSS class name of headers group
	contentclass: "submenu", //Shared CSS class name of contents group
	revealtype: "click", //Reveal content when user clicks or onmouseover the header? Valid value: "click", "clickgo", or "mouseover"
	mouseoverdelay: 200, //if revealtype="mouseover", set delay in milliseconds before header expands onMouseover
	collapseprev: true, //Collapse previous content (so only one open at any time)? true/false 
	defaultexpanded: [], //index of content(s) open by default [index1, index2, etc] [] denotes no content
	onemustopen: false, //Specify whether at least one header should be open always (so never all headers closed)
	animatedefault: false, //Should contents open by default be animated into view?
	persiststate: true, //persist state of opened contents within browser session?
	toggleclass: ["", ""], //Two CSS classes to be applied to the header when it's collapsed and expanded, respectively ["class1", "class2"]
	togglehtml: ["suffix", "<img src='adm/images/plus.gif' class='statusicon' />", "<img src='adm/images/minus.gif' class='statusicon' />"], //Additional HTML added to the header when it's collapsed and expanded, respectively  ["position", "html1", "html2"] (see docs)
	animatespeed: "fast", //speed of animation: integer in milliseconds (ie: 200), or keywords "fast", "normal", or "slow"
	oninit:function(headers, expandedindices){ //custom code to run when headers have initalized
		//do nothing
	},
	onopenclose:function(header, index, state, isuseractivated){ //custom code to run whenever a header is opened or closed
		//do nothing
	}
})
</script>

<script type="text/javascript" src="adm/js/jconfirmaction.jquery.js"></script>
<script type="text/javascript">
	
	$(document).ready(function() {
		$('.ask').jConfirmAction();
	});
	
</script>
<script type="text/javascript">
	$(document).ready(function(){
		$.validator.messages.required = "";
		$("#Laylaimk").validate();
	});
</script>
<script type="text/javascript"> 
	function check_frmLaymk(Laylaimk,Email){ 
			//var email = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;
			//var address = document.forms[Laylaimk].elements[Email].value;
			
			if(document.Laylaimk.TenDangNhap.value == ""){ 
				alert("Bạn chưa nhập tên đăng nhập!"); 
				document.Laylaimk.TenDangNhap.focus(); 
				return false; 
			} 
// 			if(email.test(address) == false){ 
// 				alert("Email không hợp lệ!"); 
// 				return false; 
// 			}
	}
</script>

<script language="javascript" type="text/javascript"
	src="adm/js/niceforms.js"></script>
<link rel="stylesheet" type="text/css" media="all"
	href="adm/css/niceforms-default.css" />

</head>
<?php
	session_start();
?>
<body>
	<div id="main_container">

		<div class="header_login">
			<div class="logo">
				<a href="./index.php"><img src="images/logo.gif" alt="" title=""
					border="0" /></a>
			</div>
		</div>

		<div class="login_form" >
			<h3>
				<b>LẤY LẠI MẬT KHẨU</b>
			</h3>
			<form style="padding-top: 100px;" class="niceform" name="Laylaimk" id="Laylaimk" action="quenmatkhau_xuly.php" method="post" onsubmit="javascript:return check_frmLaymk('Laylaimk','Email')">
				<fieldset>
					<dl>
						<dt><label for="email">Tài khoản</label><span class="requirefield">(*)</span></dt>
						<dd><input type="text" name="TenDangNhap" size="54" class="required" maxlength="30"/></dd>
					</dl>
					<dl>
						<dd style="margin-left: 240px;">
							<input type="checkbox" name="khachhang" onclick="chon()" />&nbsp
							&nbsp &nbsp Bạn là khách hàng
						</dd>
					</dl>
				</fieldset>
				<p class="requirefields">&nbsp &nbsp &nbsp &nbsp(*): Các trường bắt buộc phải nhập thông tin.</p>
				<dl style="padding-top: 20px;" class="submit">
					<input type="submit" value="Xác nhận" />
					<input type="reset" name="reset" id="reset" value="Nhập lại" />
				</dl>
				<dl style="text-align: center">
						<?php
						if(isset($_SESSION["LoiQuenMatKhau"]))
						{
							echo $_SESSION["LoiQuenMatKhau"];
							unset($_SESSION["LoiQuenMatKhau"]);
						}
						?>
				</dl>
			</form>
			
		</div>
		<div class="footer_login">
			
		</div>
	</div>
</body>
</html>